package com.cgt.web.dao;

import com.cgt.web.pojo.Banji;

import java.util.List;

public interface IBanjiDao {
    List<Banji> selectAll();

    void deleteById(int id);

    void addInf(Banji banji);

    Banji toUpdate(int id);

    void update(Banji banji);

    List<Banji> selectByPage(int offset, int pageSize);

    int selectTotalCount();
}